import type { App } from "vue";
import lazyPlugin from 'vue3-lazy'
import resize from "./resize";
import drag from "./drag";


export default function (_vue: App) {

  resize(_vue)
  drag(_vue)
  // vue懒加载插件  vue3-lazy
  _vue.use(lazyPlugin, {
    loading: ('@/assets/image/default.jpg'), // 图片加载时默认图片
    error: ('@/assets/image/error.jpg')// 图片加载失败时默认图片
  })
}
